﻿using B.S.DataBase.MyProject.ErrorCode;
using MediatR;

namespace B.S.DataBase.MyWrite.API.Appicant.Command.Users
{

    public class AddUserCommand : IRequest<APIResult<object>>
    {
        public int? UserId { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string? UserName { get; set; }

        /// <summary>
        /// 部门Id
        /// </summary>
        public int DepId { get; set; }

        /// <summary>
        /// 角色Id
        /// </summary>
        public int RoleId { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string NickName { get; set; }
        /// <summary>
        /// 性别 false 男 true 女
        /// </summary>
        public bool? Sex { get; set; }

        /// <summary>
        /// 省份id
        /// </summary>
        public string ProvinceId { get; set; }
        /// <summary>
        /// 市id
        /// </summary>
        public string CityId { get; set; }

        /// <summary>
        /// 县id
        /// </summary>
        public string CountyId { get; set; }

        /// <summary>
        /// 村详细地址
        /// </summary>
        public string? HamletName { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }



    }
}
